package com.coolgor.coldot.service.wechat.gzh;

import com.coolgor.coldot.entity.wechat.gzh.GZHMessageTemplate;
import com.coolgor.coldot.dto.wechat.gzh.GZHMessageTemplateExecution;
import com.coolgor.coldot.exceptions.wechat.gzh.GZHMessageTemplateOperationException;

import java.util.List;


public interface GZHMessageTemplateService {

	GZHMessageTemplateExecution getByID(Long recordID);

	String getTemplateID(String appID, String templateName);

	GZHMessageTemplateExecution getList(GZHMessageTemplate gZHMessageTemplateCondition, int pageIndex, int pageSize);

	GZHMessageTemplateExecution add(GZHMessageTemplate gZHMessageTemplate) throws GZHMessageTemplateOperationException;

	GZHMessageTemplateExecution modify(GZHMessageTemplate gZHMessageTemplate) throws GZHMessageTemplateOperationException;

	GZHMessageTemplateExecution remove(Long recordID) throws GZHMessageTemplateOperationException;

	GZHMessageTemplateExecution remove(GZHMessageTemplate gZHMessageTemplate) throws GZHMessageTemplateOperationException;

	GZHMessageTemplateExecution removeBatchByID(List<Long> recordIDList) throws GZHMessageTemplateOperationException;

	GZHMessageTemplateExecution removeBatch(List<GZHMessageTemplate> gZHMessageTemplateList) throws GZHMessageTemplateOperationException;

}
